package com.flyme.module.base.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.flyme.common.core.model.base.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 收藏点赞关注
 *
 * @author zyf
 * @date 2019-1-16
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@TableName("sys_collecon")
public class SysCollecon extends AbstractEntity<SysCollecon> {
    private static final long serialVersionUID = 1L;
    /**
     * 收藏目标Id
     */
    private Long targetId;
    /**
     * 目标实体
     */
    private String targetEntity;
    /**
     * 操作类型1：收藏2：点赞 3：关注
     */
    private Integer optType;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 1课程2直播
     */
    private Integer targetType;
}
